class Case < ActiveRecord::Base
  attr_accessible :case_num, :case_status, :client_id, :employee_id, :id, :hearing_location
  belongs_to :employee
  belongs_to :client
  has_and_belongs_to_many :documents
  validates_presence_of :case_num
  validates_uniqueness_of :case_num
  validates_presence_of :hearing_location
end
